@charset "UTF-8";

/* TODO: Convert all px to em. */

/* For debugging only...comment this out to go live: 

  * { outline: 2px dotted red }
  * * { outline: 2px dotted green }
  * * * { outline: 2px dotted orange }
  * * * * { outline: 2px dotted blue }
  * * * * * { outline: 1px solid red }
  * * * * * * { outline: 1px solid green }
  * * * * * * * { outline: 1px solid orange }
  * * * * * * * * { outline: 1px solid blue }
*/


/* ----------------------------- COLOUR SCHEME ------------------------------
rgb(63,63,63); grey
rgb(0,0,0);       black
rgb(181,235,184); light green
rgb(220,255,220); v light green
rgb(9,92,14);     dark green
rgb(255,255,255);
*/

/* ------------------------------------------------------------------------- */

/* Basic elements. */

html {
	font: 14px/20px "Lucida Grande", "Lucida Sans Unicode", verdana, lucida, helvetica, sans-serif;
	font-weight: normal;
}

body {
	background: rgb(63,63,63);
	color: rgb(9,92,14); 
	width: 800px;
/*	min-height: 800px; */
	margin: 20px;
	padding: 0;
}


/* ------------------------------------------------------------------------- */

/* Sign out / Execute Howl command, etc. */
#commands {
	height: 2em;
	width: 100%;
	margin: 0px;
	padding: 0px; 
	text-align: right;
}

#commands a.command, a:link.command, a:visited.command {
	background: rgb(220,255,220);
	color: rgb(9,92,14);
	text-align: center;
	margin: 5px;
	padding: 3px;
	text-decoration: none;
}

#commands a:hover.command {
	color: rgb(220,255,220);
	background: rgb(9,92,14);
	text-decoration: none;
}

/* ------------------------------------------------------------------------- */

/* Top banner and logo. */
#TopBanner { 
	position: relative;
	background-image: url('images/banner.png'); 
	background-repeat:no-repeat;
	background-color: rgb(9,92,14);
	height: 80px;
	width: 100%;
	margin: 0px auto;
	padding: 0px;
	text-align: center;
} 

#TopBanner p {
	position: relative;
	font: 24px/30px "Lucida Grande", "Lucida Sans Unicode", verdana, lucida, helvetica, sans-serif;
	top:30%; 
	color: rgb(255,255,255);
	float:none;
	padding-left: 20px;
	text-align: left;
}

#logo {
	float:right;
}

/* ------------------------------------------------------------------------- */

/* Page wraps menu and content. */
#page {
	background: rgb(181,235,184);
	text-align: center;
	padding-bottom: 20px;
}

/* ------------------------------------------------------------------------- */

/* Navigation menu. */
#menu { 
	background: rgb(181,235,184);
	margin: 0px 0px 10px 0px; 		/* top right bottom left */
	padding: 3px 0px 3px 0px; 		/* top right bottom left */
	border-bottom: 2px solid rgb(9,92,14); 
	width: 100%;
	float:none;
}

/* All navigation is horizontal :) */
#menu p, li, a.menu, a:link.menu, a:visited.menu{
	background: rgb(181,235,184);
	color: rgb(9,92,14);
	text-align: center;
    list-style: none;
	padding: 2px 10px 2px 10px; 		/* top right bottom left */ 
    margin: 0 auto;
	text-decoration: none;
}


#menu a:hover.menu {
	color: rgb(220,255,220);
	background: rgb(9,92,14);
	text-decoration: none;
}

/* ------------------------------------------------------------------------- */

/* Page text / images / etc */
#content { 
	background: rgb(220,255,220);
	margin: 0px 20px 0px 20px; 		/* top right bottom left */
	width: 90%;
	height: 100%;
	padding: 5px; 
	border: 1px solid rgb(9,92,14); 
	text-align: justify;
}

#inlinelogo {
	width: 100%;
}

#inlinelogo img {
	float: right;
	padding: 5px;
	border: 0px;
}

#content table {
	border-collapse:collapse;
	text-align: center;
	margin: 10px; 
	padding: 2px;
}

#content td {
	border: none;
	color: rgb(9,92,14); 
	text-align: left;
}

#content th {
	background: rgb(9,92,14);
	border: none;
	color: rgb(255,255,255);
	font-weight: bold;
	text-align: center;
}

#content h1,h2,h3,h4 {
	color: rgb(9,92,14);
	text-align: left;
	margin: 15px 0 15px 0;   /* top right bottom left */
	padding: 10px 0 0 0;  /* top right bottom left */
	border-bottom: 1px solid rgb(9,92,14);
	width: 70%;
}

#content strong {
	background: rgb(220,255,220);
	font-weight: bold;
	color: rgb(63,63,63);
}

#content p {
	background: rgb(220,255,220);
	color: rgb(9,92,14);
	margin: 5px;
	text-align: justify;
}

#content p + p { /* Indent first line of paragraph. */
  text-indent: 1.5em;
}

#content a,a:link,a:visited {
	color: rgb(9,92,14);
	margin: 0;
	padding: 0;
	text-decoration: none;
	font-weight: bold;
	border: 0px;
}

#content a:hover {
	color: rgb(220,255,220);
	background: rgb(9,92,14);
	margin: 0;
	padding: 0;
	text-decoration: none;
	border: 0px;
}

#content img {
	border: 0px;
}

#content ul,dl,ol {
	background: rgb(220,255,220);
	list-style-type: none;
	margin: 15px 0 15px 0;  /* top right bottom left */
	padding: 0;
	text-align: left;
	vertical-align: middle;
}

#content li {
	background: rgb(220,255,220);
	text-align: left;
	margin: 0;
	color: rgb(9,92,14);
}

/* Definition lists are hard to style so we use some fake ones. */
#content ul.fakedl {
	width: 65%;
	background: rgb(220,255,220);
	list-style-type: none;
	margin: 2px; /* top right bottom left */
	padding: 0;
	text-align: left;
	vertical-align: middle;
}


#content li.fakedl {
	background: rgb(220,255,220);
	text-align: left;
	margin: 3px;
	padding: 0;
	vertical-align: middle;
	border-bottom: 1px solid rgb(9,92,14);
	color: rgb(9,92,14);
}


/* ------------------------------------------------------------------------- */

#footer { 
	background: rgb(181,235,184);
	margin: 0px;
	padding: 3px 0px 3px 0px; 		/* top right bottom left */
	border-top: 2px solid rgb(9,92,14); 
	width: 100%;
}

#footer p {
	text-align: center;
	margin: 3px;
	padding: 3px;
	color: rgb(9,92,14);
}

/* ------------------------------------------------------------------------- */

/* Styling for the submit button on the Welcome.html page. */

#welcome {
	text-align: left;
}

.formsubmit{
	font: 14px/20px "Lucida Grande", "Lucida Sans Unicode", verdana, lucida, helvetica, sans-serif;
	background: url('formbutton.png');
	cursor: pointer;
	border: none;
	color: rgb(255,255,255);
	font-weight: bold;
	padding: 0px;
	margin: 0px 20px 10px 10px; 		/* top right bottom left */
	width: 100px;
	height: 50px;
}

/* ------------------------------------------------------------------------- */

/* Used on FAQ.jsp */

#question { 
	color: rgb(63,63,63);
	text-align:left; 
	padding-bottom: 10px; 
	padding-top: 10px;  
}

#answer { 
	text-align: left; 
	padding-bottom: 10px; 
	padding-left: 15px;
}

/* ------------------------------------------------------------------------- */

/* Used on ViewTable.jsp */


#sensorresults { 
	margin: 5px;
	height: 100%;
	text-align: justify;
}


/* Header for feed name. */
#feedName { 
	background: rgb(9,92,14);
	color: rgb(255,255,255);
	font-weight: bold;
	width:100%;
	height: 100%;
	text-align: left;
	margin:  0 auto;
	padding: 3px;
}

/* Data chart?? */
#visualization { 
	width: 300px; 
	height: 300px; 
	border: none;
}

/* Displays a table of sensor data. */
#feedSchema { 
	width: 100%;
	text-align: center;
	margin: 5px;
	padding: 5px;
}

/* Displays the Google map map ... */
#feedLocation {
	width: 100%;
	text-align: center;
	margin: 5px;
	padding: 5px;
}
#feedMap { 
	width: 300px; 
	height: 150px;
	padding: 5px;
}

#sensorresults table {
	border-collapse:collapse;
	text-align: center;
	width: 90%;
	margin: 10px;
	padding: 2px;
}

#sensorresults td {
	border: 1px solid rgb(9,92,14); 
	color: rgb(9,92,14); 
	text-align: center;
}

#sensorresults th {
	background: rgb(9,92,14);
	border: 1px solid rgb(9,92,14); 
	color: rgb(255,255,255);
	font-weight: bold;
	text-align: center;
}
